import {bizRequest} from '../api.js'

/**
 * 用户登录
 * @param query 登录信息
 * @returns {Promise<unknown>}
 */
export const login = query => {
  return bizRequest({
    url: 'Interaction/CheckLogin',
    method: 'post',
    data: query
  })
}